package com.demo.mapper;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.star.pojo.dto.DataDictionary;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 数据字典
 *
 * @author: star
 * @date: 2020-07-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_data_dictionary")
public class DataDictionaryDto implements DataDictionary {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 字典号码
     */
    private Integer dictNo;

    /**
     * 关键字
     */
    private String keyword;

    /**
     * 描述
     */
    private String dictDesc;

    /**
     * 代码
     */
    private String dictCode;

    /**
     * 是否删除(0:未删除 1:已删除)
     */
    private Integer isDeleted;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

}
